package com.bdqn.t350.dao;

import com.bdqn.t350.pojo.SysUser;
import org.mybatis.spring.SqlSessionTemplate;

import java.util.List;

public class SysUserMapperImp implements SysUserMapper {

    private SqlSessionTemplate sqlSession;

    public SqlSessionTemplate getSqlSession() {
        return sqlSession;
    }

    public void setSqlSession(SqlSessionTemplate sqlSession) {
        this.sqlSession = sqlSession;
    }

    @Override
    public List<SysUser> getList() {
        return sqlSession.selectList("com.bdqn.t350.dao.SysUserMapper.getList");
    }
}
